import request from '@/utils/request'

// 应用配置列表
export function configsAll(params?: Record<string, any>) {
    return request.get({ url: '/client/app_configs/all', params })
}
export function configsLists(params?: Record<string, any>) {
    return request.get({ url: '/client/app_configs/list', params })
}

// 应用配置详情
export function configsDetail(params: Record<string, any>) {
    return request.get({ url: '/client/app_configs/detail', params })
}

// 应用配置新增
export function configsAdd(params: Record<string, any>) {
    return request.post({ url: '/client/app_configs/add', params })
}

// 应用配置编辑
export function configsEdit(params: Record<string, any>) {
    return request.post({ url: '/client/app_configs/edit', params })
}

// 应用配置删除
export function configsDelete(params: Record<string, any>) {
    return request.post({ url: '/client/app_configs/del', params })
}
